package com.trkj.dao.lzs;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Jobseekersmasterdate;
import com.trkj.pojo.Jobseekersregister;

public interface JobseekersmasterdateDAO extends JpaRepository<Jobseekersmasterdate, Long>{
	/**

	 * @param p
	 * @return
	 */
	@Query("from Jobseekersmasterdate d") 
	public List<Jobseekersmasterdate> queryByPage(Pageable p);

	/**
	 *
	 * @param name
	 * @return
	 */
/*	@Query("from Jobseekersmasterdate d where d.jsmdName like ?1") 
	public List<Jobseekersmasterdate> queryByName(String name);*/
	
	 @Query("from Jobseekersmasterdate s where s.jsmdName like ?1")
	    public  List<Jobseekersmasterdate>JobseekersmasterdatequeryByName(String text);	

}
